package org.example.bootvue.service;

import org.example.bootvue.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author YourName
 * @since 2025-07-29
 */
public interface IUserService extends IService<User> {
    User findByUsername(String username);
    void add(String username, String password);
//更新头像
    void updateAvatar(String avatarurl);

    void updatePwd(String newpwd);
}
